package cn.usian.basicInformation.sensitivewords.mapper;

import cn.usian.dto.basicInformation.sensitivewords.BaseSensitiveWordsDto;
import cn.usian.pojo.basicInformation.sensitivewords.BaseSensitiveWords;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

import java.util.List;

public interface SensitiveWordsMapper {
    List<BaseSensitiveWords> list(BaseSensitiveWordsDto sensitiveWords);

    BaseSensitiveWords findBySensitiveWords(String sensitiveWords);

    void update(BaseSensitiveWords sensitiveWords);

    void add(BaseSensitiveWords sensitiveWords);

    BaseSensitiveWords findById(long id);

    List<BaseSensitiveWords> selectList(QueryWrapper<Object> objectQueryWrapper);
}
